package com.three.server.service;

import com.smartcar.common.domain.Order;
import com.smartcar.common.domain.request.DriverRequest;
import com.smartcar.common.domain.request.OrderRequest;
import com.smartcar.common.domain.request.OrderStatePageVo;
import com.smartcar.common.domain.response.OrderMoneyResponse;
import com.smartcar.common.domain.response.OrderPersonResponse;
import com.smartcar.common.domain.response.OrderResponse;
import com.three.common.request.FenceRequest;
import com.three.common.response  .SendOrderResponse;

import java.util.ArrayList;
import java.util.List;

/**
 * @ProjectName : driverMe_dev
 * @PackageName : com.three.server.service
 * @ClassName : OrderService
 * @Author : ZhouTeng
 * @CreateTime : 2023/10/15 16:48
 */


public interface OrderService {
    ArrayList<OrderResponse> orderList();


    OrderPersonResponse personMessage(OrderRequest orderRequest);

    OrderMoneyResponse moneyMessage(OrderRequest orderRequest);

    int insertOrder(OrderRequest orderRequest);

    int updateOrderByDriver(OrderRequest orderRequest);

    List<Order> queryOrderByOrderState(OrderStatePageVo orderStatePageVo);

    List<OrderRequest> selectOrder(OrderRequest orderRequest);

    SendOrderResponse sendOrder(FenceRequest fenceRequest);

    Object driverGetOrder(DriverRequest driverRequest);


    List<OrderRequest> orderFindByPhone(String personPhone);

    List<OrderRequest> selectPcOrder();

    int updatePc(OrderRequest orderRequest);

    OrderRequest echoOrder(Long id);
}
